from pom.BasePage import BasePage
from selenium.webdriver.common.by import By
import time


# 退出模块
class OutPage(BasePage):
    # 类的实例变量  元素定位
    loginOut = (By.XPATH, '//*[@id="user-offcanvas"]/div/ul/li[5]/a')

    def loginout(self):
        time.sleep(1)
        self.click(self.loginOut)
